package com.augn.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class InvestmentProgress implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer investmentId; //招商进度编号
    private Integer userId; //发帖人编号
    private Integer postId; //招商贴编号 默认为NULL 允许为空

    private String progress; //招商进度 默认为start

    @TableField(exist = false)
    private List<Cooperations> cooperationList;

    private Date startTime; //开始时间
    private Date chooseTime; //选择时间
    private Date enterTime; //确认时间
    private Date talkTime; //研讨时间
    private Date endTime; //结束时间

    private Integer cooperation; //确认合作对象 默认为NULL 允许为空

    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
